<template>
  <div id="app">
    <router-view/>
  </div>
</template>
<script>
export default {
  name: 'App',
  components: {},
}
</script>
<style lang="scss">
#app {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    // background-image: url('./assets/newImg/bg.png');
    color: #fff;
    /* 使背景图片铺满整个元素 */
    background-size: cover;
}

.dialog-view {
    top: 0;
    left: 0;
    z-index: 99;
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba($color: #000000, $alpha: 0.4);

    .main-view ,  .main-view-dialog{
        width: 791px;
        min-height: 506px;

        .main-view-top {
            width: 100%;
            height: 43px;
            background-image: url("./assets/newImg/ttit.png");
            /* 使背景图片铺满整个元素 */
            background-size: cover;
            background-repeat: no-repeat;
            display: flex;
            justify-content: end;
            align-items: center;

            img {
                height: 18px;
                width: 18px;
                margin-right: 10px;
            }

        }

        .view-main {
            position: relative;
            width: calc(100% - 20px);
            height: calc(100% - 63px);
            background-image: url("./assets/newImg/tbg.png");
            /* 使背景图片铺满整个元素 */
            background-size: cover;
            background-repeat: no-repeat;
            display: flex;
            justify-content: space-between;

            padding: 10px;

            .title-view-box {
                height: 370px;
                width: calc(100%);
                //background-color: #00ced1;
            }

            .dialog-view-content-box {
                display: flex;
                justify-content: space-between;
                align-items: center;

                .dialog-view-content-box-left-img {
                    margin-bottom: 10px;

                    .title {
                        font-size: 16px;
                        font-weight: 700;
                        color: #fff;
                        margin-bottom: 10px;
                    }

                    img {
                        width: 343.8px;
                        height: 249px;
                    }
                }

                .left-text-view {
                    height: 290px;
                    margin-left: 50px;

                    .dialog-view-content-box-left-text {
                        margin-bottom: 40px;

                        .title {
                            font-size: 16px;
                            font-weight: 700;
                            color: #fff;
                            margin-bottom: 10px;
                        }

                        .main-text {
                            font-size: 16px;
                            font-weight: 700;
                            color: red;
                        }
                    }
                }

            }

            .dialog-view-content-box-left {
                .dialog-view-content-box-left-img {
                    margin-bottom: 10px;

                    .title {
                        font-size: 16px;
                        font-weight: 700;
                        color: #fff;
                        margin-bottom: 10px;
                    }

                    img {
                        width: 343.8px;
                        height: 249px;
                    }
                }

                .dialog-view-content-box-left-text {
                    margin-bottom: 20px;

                    .title {
                        font-size: 16px;
                        font-weight: 700;
                        color: #fff;
                        margin-bottom: 10px;
                    }

                    .main-text {
                        font-size: 16px;
                        font-weight: 700;
                        color: red;
                    }
                }


            }

            .dialog-view-content-box-right {
                margin-left: 50px;

                .dialog-view-content-box-right-text {
                    .title {
                        font-size: 16px;
                        font-weight: 700;
                        color: #fff;
                        margin-bottom: 10px;
                    }

                    textarea {
                        width: 333.8px;
                        height: 239px;
                        padding: 5px;
                        border: none;
                    }
                }

                .dialog-view-content-box-right-btn {
                    height: 180px;
                    text-align: right;
                    text-align: center;
                    display: flex;
                    justify-content: end;
                    align-items: self-end;
                    padding-bottom: 10px;

                    .check {
                        width: 80px;
                        height: 30px;
                        line-height: 30px;
                        text-align: center;
                        font-size: 20px;
                        font-weight: 700;
                        color: #fff;
                        margin-bottom: 10px;
                        margin-left: 10px;
                        background-color: #00ced1;
                        border-radius: 5px;
                        background-image: url('./assets/newImg/btn-no.png');
                        /* 背景图片铺满整个元素 */
                        background-size: cover;

                        /* 确保背景图片不重复 */
                        background-repeat: no-repeat;

                        /* 确保背景图片随元素一起缩放 */
                        background-attachment: fixed;

                        /* 确保背景图片在元素内居中 */
                        background-position: center;
                    }
                }
            }

            .dialog-view-content-box-btn {
                position: absolute;
                bottom: 10px;
                right: 10px;
                height: 180px;
                text-align: right;
                text-align: center;
                display: flex;
                justify-content: end;
                align-items: self-end;

                .check {
                    width: 80px;
                    height: 30px;
                    line-height: 30px;
                    ;
                    text-align: center;
                    font-size: 20px;
                    font-weight: 700;
                    color: #fff;
                    margin-bottom: 10px;
                    margin-left: 10px;
                    background-color: #00ced1;
                    border-radius: 5px;
                    background-image: url('./assets/newImg/btn-no.png');
                    /* 背景图片铺满整个元素 */
                    background-size: cover;

                    /* 确保背景图片不重复 */
                    background-repeat: no-repeat;

                    /* 确保背景图片随元素一起缩放 */
                    background-attachment: fixed;

                    /* 确保背景图片在元素内居中 */
                    background-position: center;
                }
            }
        }

        .img-view {
            width: 100%;

            img {
                width: 100%;
            }
        }

        .main-text {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }
    }
    .main-view-dialog-big{
        width: 65vw;
        min-height: 800px;
        .main-view-top {
            width: 100%;
            height: 43px;
            background-image: url("./assets/newImg/ttit.png");
            /* 使背景图片铺满整个元素 */
            background-size: cover;
            /* 固定高度 */
            background-size: cover;
            /* 其他可能的背景样式 */
            background-position: center; /* 背景图片居中 */
            background-repeat: no-repeat; /* 不重复背景图片 */
        }
        .view-main {
            .title-view-box {
                height: 800px;
            }
        }
    }
}
</style>
